package com.sawen.houserent.mapper;

import com.sawen.houserent.bean.Homeinfo;
import com.sawen.houserent.bean.HomeinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HomeinfoMapper {
    int countByExample(HomeinfoExample example);

    int deleteByExample(HomeinfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Homeinfo record);

    void insertSelective(Homeinfo homeinfo);

    List<Homeinfo> selectByExample(HomeinfoExample example);

    Homeinfo selectByPrimaryKey(Integer homeid);

    int updateByExampleSelective(@Param("record") Homeinfo record, @Param("example") HomeinfoExample example);

    int updateByExample(@Param("record") Homeinfo record, @Param("example") HomeinfoExample example);

    void updateByPrimaryKey(Homeinfo homeinfo);


    List<Homeinfo> getHomeinfo();
}